#!/bin/sh

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/s/lib
export LD_LIBRARY_PATH

PYTHON_VERSION=`python -V 2>&1 | cut -d' ' -f2 | cut -d'.' -f1,2`
if [ "x${PYTHON_VERSION}" != "x" ]
then
    PYTHONPATH=$PYTHONPATH:/home/s/lib/python${PYTHON_VERSION}:/home/s/lib/python
    export PYTHONPATH
fi
PYTHONPATH=../../lib:$PYTHONPATH
export PYTHONPATH

python $@

